home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextInsert.z
/
XmTextInsert
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrtttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrtttt((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrtttt - A Text function that inserts a character
string into a text string
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrtttt(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ppppoooossssiiiittttiiiioooonnnn,
cccchhhhaaaarrrr **** vvvvaaaalllluuuueeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrtttt inserts a character string into the text string
in the Text widget. The character positions begin at 0
(zero) and are numbered sequentially from the beginning of
the text. For example, to insert a string after the fourth
character, the parameter _p_o_s_i_t_i_o_n must be 4.
This routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
callback lists are registered, the procedures of the
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
callbacks. If the XXXXmmmmNNNNccccuuuurrrrssssoooorrrrPPPPoooossssiiiittttiiiioooonnnn resource is greater
than or is the same value as _p_o_s_i_t_i_o_n, the
XXXXmmmmNNNNmmmmoooottttiiiioooonnnnVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk is called.
Note that, if _v_a_l_u_e is a null string, no callbacks will be
generated, since no modifications will have been made.
_w_i_d_g_e_t Specifies the Text widget ID.
_p_o_s_i_t_i_o_n Specifies the position in the text string where
the character string is to be inserted.
_v_a_l_u_e Specifies the character string value to be added
to the text widget.
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3) and XXXXmmmmTTTTeeeexxxxttttIIIInnnnsssseeeerrrrttttWWWWccccssss(3).
Page 1 (printed 10/24/98)